package com.zzyl.service;

import com.zzyl.dto.ResourceDto;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {
    List<ResourceVo> findResourceList(ResourceDto resourceDto);

    TreeVo resourceTreeVo(ResourceDto resourceDto);

    /**
     * 添加资源菜单
     * @param resourceDto
     * @return
     */
    void createResource(ResourceDto resourceDto);

    void updateResource(ResourceDto resourceDto);

    void enable(ResourceDto resourceDto);

    void deleteResource(String resourceNo);

}
